using System;
using System.Collections.Generic;

namespace AtletIS.DomainModel.Entities.Main
{
    public partial class Competitor
    {
        public Competitor()
        {
            this.Performances = new List<Performance>();
            this.Statistics = new List<Statistic>();
        }

        public int ID { get; set; }
        public string Firstname { get; set; }
        public string Surname { get; set; }
        public Nullable<System.DateTime> Birthdate { get; set; }
        public string Sex { get; set; }
        public string ClubId { get; set; }
        public string CountryId { get; set; }
        public bool Competitor1 { get; set; }
        public string CoachClass { get; set; }
        public string RefereeClass { get; set; }
        public bool Active { get; set; }
        public bool Sync { get; set; }
        public Nullable<int> WebId { get; set; }
        public Nullable<System.DateTime> Modified { get; set; }
        public virtual Club Club { get; set; }
        public virtual Country Country { get; set; }
        public virtual ICollection<Performance> Performances { get; set; }
        public virtual ICollection<Statistic> Statistics { get; set; }
    }
}
